package com.baiyang.server.config.provider;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;

public class MyUsernamePasswordAuthenticationToken extends UsernamePasswordAuthenticationToken{
	private static final long serialVersionUID = 1L;

	public MyUsernamePasswordAuthenticationToken(Object principal, Object credentials) {
		super(principal, credentials);
	}
	
	private String verCode = null;
	
	public MyUsernamePasswordAuthenticationToken(Object principal, Object credentials,String verCode) {
		super(principal, credentials);
		this.setVerCode(verCode);
	}

	public String getVerCode() {
		return verCode;
	}

	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}
}
